<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:icecore="http://www.icefaces.org/icefaces/core"  xmlns:ace="http://www.icefaces.org/icefaces/components"   xmlns:ice="http://www.icesoft.com/icefaces/component" 
	>
    <h:head>
        <title>Exercice Ibatis</title>
        <link rel="stylesheet" type="text/css" href="./xmlhttp/css/rime/rime.css"/>
        <style type="text/css">
        
        	ul {
        		list-style-type: none;
        	}
        	
        	ul.zoneChoix > li {	
        		display: inline;
        	}
			
			ul.zoneChoix  > li > ul > li  {
					display: inline-block;
					color: blue;
			}
			
		</style>
    </h:head>
    <h:body styleClass="ice-skin-rime"> 
    		<h:outputText value="Camion BDD Application"/>   
             <h:form id="form">
                <ul class="zoneChoix">
                	<li><ice:outputText value="Veuillez choisir la marque." /></li>
                	<li>
                		<ul>
                			<li><ice:outputText value="Marque :" /></li>
                			<li>
                				
                				<ice:selectOneMenu partialSubmit="true" value="#{PageExBB.noMarque}" valueChangeListener="#{PageExBB.choixMarqueEvent}">
									<f:selectItem itemLabel="- Veuillez choisir une marque -" itemValue="-1" />	
                					<f:selectItems value="#{lstMarqueHolder.alSelectItemMarques}" />
                				</ice:selectOneMenu>
                			</li>
                		</ul>
                	</li>
                	<li>Veuillez choisir le modèle.</li>
                	<li>
                		<ul>
                			<li>Modèles : </li>
                			<li>
                				<ice:selectOneMenu partialSubmit="true" value="#{PageExBB.noModele}" valueChangeListener="#{PageExBB.choixModeleEvent}">
                					<f:selectItem itemLabel="- Veuillez choisir un modèle -" itemValue="-1" />
                					<f:selectItems value="#{PageExBB.alSelModeles}" />
                				</ice:selectOneMenu>
                			</li>
                		</ul>
                	</li>
                	<li>Veuillez choisir le camion</li>
                	<li>
                		<ul>
                			<li>Camion : </li>
                			<li>
                				<ice:selectOneMenu partialSubmit="true" value="#{PageExBB.noCamion}" valueChangeListener="#{PageExBB.choixCamionEvent}">
                					<f:selectItem itemLabel="- Veuillez choisir un camion -" itemValue="-1" />
                					<f:selectItems value="#{PageExBB.alSelCamions}" />
                				</ice:selectOneMenu>
                			</li>
                		</ul>
                	</li>
                </ul>
             </h:form>
    </h:body>
    <h:outputStylesheet library="org.icefaces.component.skins" name="rime.css" />
</html>